package com.jingjiu.homeservicesapi.domain;

import java.util.Date;

/**
 * 用户信息：用于存储登录和个人信息资料对象 user_info
 * 
 * @author ruoyi
 * @date 2025-04-16
 */
public class UserInfo
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Long id;

    /** 账号 */

    private String account;

    /** 密码 */

    private String password;

    /** 姓名 */

    private String name;

    /** 疾病史 */

    private String diseaseHistory;

    /** 性别 */

    private String gender;

    /** 年龄 */

    private Long age;

    /** 电话 */

    private String phone;

    /** 头像地址 */

    private String avatarUrl;

    /** 家庭住址 */

    private String homeAddress;

    /** 紧急联系人电话 */

    private String emergencyContactPhone;

    /** 用户类型（普通用户、服务人员、管理员） */

    private String userType;

    /** 创建时间 */

    private Date createdAt;

    /** 用户最后一次登录时间 */

    private Date lastLoginTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAccount(String account) 
    {
        this.account = account;
    }

    public String getAccount() 
    {
        return account;
    }

    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setDiseaseHistory(String diseaseHistory) 
    {
        this.diseaseHistory = diseaseHistory;
    }

    public String getDiseaseHistory() 
    {
        return diseaseHistory;
    }

    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }

    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setAvatarUrl(String avatarUrl) 
    {
        this.avatarUrl = avatarUrl;
    }

    public String getAvatarUrl() 
    {
        return avatarUrl;
    }

    public void setHomeAddress(String homeAddress) 
    {
        this.homeAddress = homeAddress;
    }

    public String getHomeAddress() 
    {
        return homeAddress;
    }

    public void setEmergencyContactPhone(String emergencyContactPhone) 
    {
        this.emergencyContactPhone = emergencyContactPhone;
    }

    public String getEmergencyContactPhone() 
    {
        return emergencyContactPhone;
    }

    public void setUserType(String userType) 
    {
        this.userType = userType;
    }

    public String getUserType() 
    {
        return userType;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setLastLoginTime(Date lastLoginTime) 
    {
        this.lastLoginTime = lastLoginTime;
    }

    public Date getLastLoginTime() 
    {
        return lastLoginTime;
    }


}
